package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.pojo.DishFlavor;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper extends BaseMapper<DishFlavor> {

    /**
     * 根据菜品id查询菜品口味
     * @param dishId
     * @return
     */
    List<DishFlavor> queryDishFlavorByDishId(Long dishId);

}
